﻿using DDDNorthWind.Core.Domain.DomainEvents;

namespace DDDNorthWind.Core.Domain.EventArgs
{
    public class EventAppliedEventArgs<TDomainEvent>:System.EventArgs where TDomainEvent:IDomainEvent
    {
        public TDomainEvent Event { get; protected set; }

        public EventAppliedEventArgs(TDomainEvent @event)
        {
            Event = @event;
        }


    }
}